<%@ include file="/WEB-INF/common/taglibs.jsp"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!--content_container 영역 시작-->
<div id="content_container">
	<input type="hidden" id="c_baseProductSeq" value="${baseProduct.baseProductSeq}">
	<input type="hidden" id="c_inflowProductSeq" value="${baseProduct.inflowProducts[0].inflowProductSeq}">
			
	<!--content 영역 시작-->
	<div id="content" class="content clearfix inner">
		<!-- 상품 정보 노출 영역 시작-->
		<%@ include file="/WEB-INF/view/prod/prodBase_inc.jsp"%>
		<!-- 상품 정보 노출 영역 끝-->
		
  		<!-- 상품 트래킹 영역 시작-->
  		<%@ include file="/WEB-INF/view/prod/prodTraking_inc.jsp"%>
		<!-- 상품 트래킹 영역 끝-->
		
		<!-- 가격 그래프 및 히스토리 영역 시작-->
		<div id="dataparent" style="margin-bottom: 1em;">
			<div id="maintab" class="tabs">
		    	<a href="/prod/prodView.html?baseProductSeq=${data.baseProductSeq}" id="toggle_active_summary" class="on">가격 변경</a>
		  	</div>
		  	<div id="section_summary">
			  	<!-- 가격 그래프 시작-->
		  		<%@ include file="/WEB-INF/view/prod/prodChart_inc.jsp"%>
				<!-- 가격 그래프 끝-->
				
  				<div class="tabs" id="pricetabs">
  					<c:forEach var="inflowProducts" items="${baseProduct.inflowProducts }" varStatus="i">
  					<c:if test="${i.index == 0 }">
  						<a href="/prod/prodView.html?baseProductSeq=${baseProduct.baseProductSeq }" id="inflowInfo_${i.index }" class="pricetype pricetype${i.index } on">${util:siteName(inflowProducts.siteType)}  -  <fmt:formatNumber  value="${inflowProducts.presentPrice}" pattern="#,###"/>원</a>
  					</c:if>
  					<c:if test="${i.index > 0}">
	  					<a href="/prod/prodView.html?baseProductSeq=${baseProduct.baseProductSeq }" id="inflowInfo_${i.index }"  class="pricetype pricetype${i.index } off">${util:siteName(inflowProducts.siteType)}  -  <fmt:formatNumber  value="${inflowProducts.presentPrice}" pattern="#,###"/>원</a>				
  					</c:if>
  					</c:forEach>
  				</div>
				<!-- 가격 히스토리 시작-->
		  		<%@ include file="/WEB-INF/view/prod/prodHistory_inc.jsp"%>
				<!-- 가격 히스토리 끝-->
			</div>
		    <div class="controlbox">
				<h4>Chart Options
					<img src="http://d1i0o2gnhzh6dj.cloudfront.net/images/loading.gif" class="throbber" style="visibility: hidden;">
				</h4>
		      	<div class="controlbox_row">
		        	<input type="checkbox" name="fo" value="1" id="toggle_fo_sr_1">
		       		<label for="toggle_fo_sr_1" title="Turn outlier filtering on">
		          		<a href="?context=home_alerts&amp;active=sales_rank&amp;fo=1">Remove Extreme Values</a>
		        	</label>
		      	</div>
			</div>
			
			<div class="controlbox">
      			<h4>Is This Data Useful?</h4>
      			<p class="smalltext">Please consider 
      				<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=VRMEGHQJNWKLY" target="_blank">making a donation</a> to help keep the sales rank data online and up-to-date.
      			</p>
    		</div>
  		</div>
  		<!-- 가격 그래프 및 히스토리 영역 끝-->
	</div>
	<!--content 영역 끝-->
	<p class="msg_bar"><small>There has been no new sales rank data in the last 30 days, and/or sales rank data tables have been disabled to improve page performance.</small></p>
</div>
<!--content_container 영역 끝-->
